package com.itheima.tlias84.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * 阿里云oss配置类
 * 1、自动注入@Configuration
 * 2、指定前缀
 */
@Data
@Configuration
@ConfigurationProperties("aliyun.oss")
public class AliyunOssConfig {
    //读取配置文件
    private String endpoint;
    private String bucketName;
    private String accessKeyId;
    private String secretAccessKey;
    private String url;

}
